package gwt.immunology.client.service;

import gwt.immunology.shared.GenericDto;
import gwt.immunology.shared.ResultSetDto;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("user")
public interface UserService extends RemoteService {

    GenericDto registerNewUser(GenericDto userDto);

    void deleteUserById(Long userId);

    GenericDto getUserById(Long userId);

    GenericDto editUser(GenericDto userDto);

    ResultSetDto getAllUsers();

}
